package com.samehope.ar.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description:
 * @Author: ZhangLuo
 * @Email: 1946430@qq.com
 */
@Data
public class
ItemUpdateParam {

    @NotNull(message = "巡检项Id不能为空")
    private Long itemId;

    @NotBlank(message = "巡检项名称不能为空")
    private String itemName;

    private Long itemTypeId;

    private String itemTypeName;

    @NotBlank(message = "巡检项编号不能为空")
    private String itemNo;

    @NotBlank(message = "巡检项教程不能为空")
    private String itemDesc;

    @NotNull(message = "问题类型不能为空")
    private Integer subjectType;

    @NotEmpty(message = "问题不能为空")
    private String title;

    @NotNull(message = "是否拍照不能为空")
    private Integer isPhoto;

    @NotNull(message = "是否视频不能为空")
    private Integer isVideo;

    @NotNull(message = "是否备注不能为空")
    private Integer isRemark;

    @NotBlank(message = "巡检项描述")
    private String remarks;

    /**
     * 视频文件路径
     */
    private String videoUrl;

    private List<ItemChildParam> itemChild;
}
